import { OrderModel } from "./Order";
import { StoreModel } from "./Store";

interface Payment {
    id?: number;
    pay_time?: Date;
    price: number;
    user: string;
    store: string | StoreModel;
    order: string | OrderModel | number;
}

export class PaymentModel implements Payment {
    id?: number | undefined;
    pay_time?: Date | undefined;
    price!: number;
    user!: string;
    store!: string | StoreModel;
    order!: string | OrderModel | number;
}